using System;
using System.Data;
using CXJ.Libiary;

namespace CXJ.Model.Demo
{
    public class tbCartoonDetailEntity : BaseEntity
    {
        public tbCartoonDetailEntity() { }

        public override string TABLE_NAME { get { return "tbCartoonDetail"; } }
        public override string PK { get { return "iCDid_PK"; } }
        public override object PK_VALUE
        {
            get { return iCDid_PK; }
            set { iCDid_PK = value.ToString(); }
        }

        [DBColumnAttribue(true, true, true, true, true, DbType.Int32)]
        public string iCartoonid_PK { get; set; }

        [DBColumnAttribue(true, true, true, true, true, DbType.Int32)]
        public string iCDid_PK { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.Int32)]
        public string iSectionID_FK { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sSection { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.Int32)]
        public string iPages { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sPhoto { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.Int32)]
        public string iDownCount { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sStatus { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.DateTime)]
        public string dUpdate { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.DateTime)]
        public string dATime { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sRemark { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sMinPhoto { get; set; }

        [DBColumnAttribue(true, true, false, true, true, DbType.Int32)]
        public string iEnable { get; set; }

    }
}
